﻿<%@ Page Language="C#"  MasterPageFile="~/Workflow/MasterPage/List.Master" AutoEventWireup="true" Inherits="WorkFlow_WFTree_WFTreeFrame" Codebehind="WFTreeFrame.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript" src="../Scripts/jquery-1.6.min.js"></script>
<script language="javascript" type="text/javascript" src="../Scripts/jquery.easyui.min.js"></script>
<link href="../Styles/easyui.css" rel="stylesheet" type="text/css" />
<link href="../Styles/icon.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
    function reloadNode() {
        ifrmTree.reloadTree();
    }
    function reloadParentNode() {
        ifrmTree.reloadParentTree();
    }
    function addNode(nodeId, nodeText, nodeType, uri) {
        ifrmTree.addNode(nodeId, nodeText, "icon-" + nodeType, uri);
    }
    function removeSelectedNode() {
        ifrmTree.removeSelectedNode();
    }
    function removeChildNode(arrId) {
        ifrmTree.removeChildNode(arrId);
    }
    function editSelectedNode(nodeText) {
        ifrmTree.editSelectedNode(nodeText);
    }
    function editChildNode(nodeId, nodeText) {
        ifrmTree.editChildNode(nodeId, nodeText);
    }
    function editSelectedNodeCls(icon_cls) {
        ifrmTree.editSelectedNodeCls(icon_cls);
    }
    function editChildNodeCls(arrNodeId, icon_cls) {
        ifrmTree.editChildNodeCls(arrNodeId, icon_cls);
    }
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="easyui-layout" style="height:450px">
	    <div region="west" split="true" border="false" style="width:160px;padding:0px;overflow:hidden;">
            <iframe id="Left" name='Left' scrolling="yes" frameborder="0"  src="WFTreeLeft.aspx?MainPage=<%=Request["MainPage"] %>&MuIDCode=<%=Request["MuIDCode"] %>&MuCode=<%=Request["MuCode"] %>&WFModule=<%=Request["WFModule"] %>&FunctionID=<%=Request["FunctionID"]+"" %>" style="width:100%;height:100%;"></iframe>    
        </div>
	    <div region="center" border="false">
            <iframe id="Main" name='Main' scrolling="yes" frameborder="0"  src="<%=StrURL %>" style="width:100%;height:100%;"></iframe> 
	    </div>
    </div>
</asp:Content>
